package com.zn.mapper;

import com.zn.entity.CustomerFinancialInquiry;
import com.zn.web.dto.FuturesTradeDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerFinancialInquiryMapper {

    /**查询线上入金总金额、总入账金额、总手续费**/
    List<CustomerFinancialInquiry> findOnlineApplyCapital(FuturesTradeDto record);

    /**查询线下入金总金额、总入账金额、总手续费**/
    List<CustomerFinancialInquiry> findApplyCapital(FuturesTradeDto record);

    /**根据时间获取当前客户的申请出金，到账资金，手续费总金额**/
    List<CustomerFinancialInquiry> findUserWithdrawSum(FuturesTradeDto record);

    /**查询历史资金明细**/
    List<CustomerFinancialInquiry> findAll(FuturesTradeDto record);
}